<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加用户</title>
	<link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
	<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>添加用户</h2>
<hr>
	<form method="post">
  <div class="form-group">
    <label for="exampleInputEmail1">填写用户名</label>
    <input type="text" class="form-control" name="username" id="exampleInputEmail1" placeholder="用户名">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">填写密码</label>
    <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="密码">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">填写重复密码</label>
    <input type="password" name="repassword" class="form-control" id="exampleInputPassword1" placeholder="重复密码">
  </div>
  <div class="form-group">
    <label for="exampleInputFile">是否启用用户</label>
    <input type="radio" name="status" value="1" checked="checked" id="">是
    <input type="radio" name="status" value="0" id="">否
  </div>
  <div class="form-group">
  	<label for="checkbox">选择用户组</label>
    <foreach name="roles" item="vo">
      <input type="checkbox" value="{$vo.id}" name="group_id[]"> {$vo.title}
    </foreach>
  </div>
  <button type="submit" class="btn btn-default">添加</button>
</form>
</div>
</body>
</html>